"""
    Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday
    M,T,W,T,F,S,S
      u   h   a  u
"""

c = input("输入星期的第一个字母")
c = c.upper()
if c == "M":
    print("星期一")
elif c == "W":
    print("星期三")
elif c == "F":
    print("星期五")
elif c == "T":
    cr = input("Enter Second Character")
    cr = cr.upper()
    if cr == "U":
        print("星期二")
    elif cr == "H":
        print("星期四")
elif c == "S":
    cr = input("Enter Second Character")
    cr = cr.upper()
    if cr == "A":
        print("星期六")
    elif cr == "U":
        print("星期天")
        
        
"""
    把所有的print都改成return.把这段代码封装到函数中
"""